/**
 * @license
 * Copyright Google Inc. All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://angular.io/license
 */
import {AsyncTestCompleter, beforeEach, ddescribe, describe, iit, inject, it, xit,} from '@angular/core/testing/testing_internal';
import {expect} from '@angular/platform-browser/testing/matchers';
import {Component} from '@angular/core';
import {TestComponentBuilder} from '@angular/core/testing';
import {NgSwitch, NgSwitchCase, 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: AsyncTestCompleter) => {
               var template = '
' +
                   '
' +
                   '- when a' +
                   '
- when b' +
                   '
' +
                   '
' +
                   '- 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;' +
                   '