import {
  beforeEach,
  ddescribe,
  describe,
  expect,
  iit,
  inject,
  it,
  xit,
} from '@angular/core/testing/testing_internal';
import {AsyncTestCompleter} from '@angular/core/testing/testing_internal';
import {Component} from '@angular/core';
import {TestComponentBuilder, ComponentFixture} from '@angular/compiler/testing';
import {NgSwitch, NgSwitchWhen, NgSwitchDefault} from '@angular/common';
export function main() {
  describe('switch', () => {
    describe('switch value changes', () => {
      it('should switch amongst when values',
         inject([TestComponentBuilder, AsyncTestCompleter], (tcb: TestComponentBuilder, async) => {
           var template = '
' +
                          '
' +
                          '- when a' +
                          '
- when b' +
                          '
' +
                          '
' +
                          '- when a' +
                          '
- when default' +
                          '
' +
                          '
' +
                          '- when a1;' +
                          '
- when b1;' +
                          '
- when a2;' +
                          '
- when b2;' +
                          '
- when default1;' +
                          '
- when default2;' +
                          '
' +
                          '
' +
                          '- when 1;' +
                          '
- when 2;' +
                          '
- when default;' +
                          '