当前位置: 首页>>代码示例>>TypeScript>>正文


TypeScript ngx-bootstrap.TabsModule类代码示例

本文整理汇总了TypeScript中ngx-bootstrap.TabsModule的典型用法代码示例。如果您正苦于以下问题:TypeScript TabsModule类的具体用法?TypeScript TabsModule怎么用?TypeScript TabsModule使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了TabsModule类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。

示例1: async

 async(() => {
   TestBed.configureTestingModule({
     imports: [
       CoreModule.forRoot(),
       ApiModule.forRoot(),
       CommonModule,
       FormsModule,
       RouterTestingModule.withRoutes([]),
       ConnectionsModule,
       ModalModule.forRoot(),
       TabsModule.forRoot(),
       PopoverModule.forRoot(),
       CollapseModule.forRoot(),
       SyndesisCommonModule.forRoot(),
       IntegrationSupportModule,
       CollapseModule
     ],
     declarations: [FlowViewComponent, FlowViewStepComponent],
     providers: [
       CurrentFlowService,
       FlowPageService,
       IntegrationStore,
       IntegrationService,
       EventsService,
       StepStore
     ]
   }).compileComponents();
 })
开发者ID:gnodet,项目名称:syndesis,代码行数:28,代码来源:flow-view.component.spec.ts

示例2: describe

describe('MirroringComponent', () => {
  let component: MirroringComponent;
  let fixture: ComponentFixture<MirroringComponent>;

  configureTestBed({
    declarations: [MirroringComponent, MirrorHealthColorPipe],
    imports: [
      SharedModule,
      BsDropdownModule.forRoot(),
      TabsModule.forRoot(),
      ProgressbarModule.forRoot(),
      HttpClientTestingModule
    ]
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(MirroringComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
开发者ID:ShiqiCooperation,项目名称:ceph,代码行数:25,代码来源:mirroring.component.spec.ts

示例3: describe

describe('RgwBucketListComponent', () => {
  let component: RgwBucketListComponent;
  let fixture: ComponentFixture<RgwBucketListComponent>;

  configureTestBed({
    declarations: [RgwBucketListComponent, RgwBucketDetailsComponent],
    imports: [
      RouterTestingModule,
      ModalModule.forRoot(),
      SharedModule,
      TabsModule.forRoot(),
      HttpClientTestingModule
    ],
    providers: [RgwBucketService]
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(RgwBucketListComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
开发者ID:fghaas,项目名称:ceph,代码行数:26,代码来源:rgw-bucket-list.component.spec.ts

示例4: describe

describe('CephfsDetailComponent', () => {
  let component: CephfsDetailComponent;
  let fixture: ComponentFixture<CephfsDetailComponent>;

  configureTestBed({
    imports: [
      SharedModule,
      ChartsModule,
      RouterTestingModule,
      BsDropdownModule.forRoot(),
      ProgressbarModule.forRoot(),
      TabsModule.forRoot(),
      HttpClientTestingModule
    ],
    declarations: [CephfsDetailComponent, CephfsChartStubComponent, CephfsClientsStubComponent],
    providers: [CephfsService]
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(CephfsDetailComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
开发者ID:noahdesu,项目名称:ceph,代码行数:28,代码来源:cephfs-detail.component.spec.ts

示例5: describe

describe('RbdListComponent', () => {
  let component: RbdListComponent;
  let fixture: ComponentFixture<RbdListComponent>;

  configureTestBed({
    imports: [
      SharedModule,
      BsDropdownModule.forRoot(),
      TabsModule.forRoot(),
      ModalModule.forRoot(),
      TooltipModule.forRoot(),
      ToastModule.forRoot(),
      AlertModule.forRoot(),
      ComponentsModule,
      RouterTestingModule,
      HttpClientTestingModule
    ],
    declarations: [RbdListComponent, RbdDetailsComponent, RbdSnapshotListComponent]
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(RbdListComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
开发者ID:noahdesu,项目名称:ceph,代码行数:30,代码来源:rbd-list.component.spec.ts

示例6: describe

describe('OsdDetailsComponent', () => {
  let component: OsdDetailsComponent;
  let fixture: ComponentFixture<OsdDetailsComponent>;

  configureTestBed({
    imports: [
      HttpClientModule,
      TabsModule.forRoot(),
      PerformanceCounterModule,
      DataTableModule,
      SharedModule
    ],
    declarations: [OsdDetailsComponent, OsdPerformanceHistogramComponent]
  });

  beforeEach(() => {
    fixture = TestBed.createComponent(OsdDetailsComponent);
    component = fixture.componentInstance;

    component.selection = new CdTableSelection();

    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
开发者ID:ShiqiCooperation,项目名称:ceph,代码行数:28,代码来源:osd-details.component.spec.ts

示例7: beforeEach

 beforeEach(async(() => {
     TestBed.configureTestingModule({
         imports: [
             CommonModule,
             HttpModule,
             FormsModule,
             ModalModule,
             // StackLevelModule,
             // ComponentLevelModule,
             FeedbackModule,
             PipelineInsightsModule,
             AccordionModule.forRoot(),
             TabsModule.forRoot(),
             ...revampImports
         ],
         declarations: [
             StackDetailsComponent
         ],
         providers: [
             Broadcaster,
             ApiLocatorService,
             witApiUrlProvider,
             authApiUrlProvider,
             ssoApiUrlProvider,
             realmProvider,
             {
                 provide: AuthenticationService, useClass: MockAuthenticationService
             },
             Contexts
         ]
     }).compileComponents();
 }));
开发者ID:,项目名称:,代码行数:32,代码来源:

示例8: beforeEach

 beforeEach(async(() => {
   TestBed.configureTestingModule({
     imports: [
       ActionModule,
       CardModule,
       EmptyStateModule,
       FilterModule,
       ListModule,
       NotificationModule,
       SortModule,
       TableModule,
       WizardModule,
       HttpModule,
       TabsModule.forRoot()
     ],
     declarations: [
       EditorViewsComponent,
       MessageLogComponent,
       ViewPreviewComponent
     ],
     providers: [
       { provide: AppSettingsService, useClass: MockAppSettingsService },
       { provide: DataserviceService, useClass: MockDataserviceService },
       LoggerService,
       NotifierService,
       SelectionService,
       { provide: VdbService, useClass: MockVdbService },
       ViewEditorService
     ]
   })
   .compileComponents().then(() => {
     // nothing to do
   });
 }));
开发者ID:tejones,项目名称:beetle-studio,代码行数:34,代码来源:editor-views.component.spec.ts

示例9: beforeEach

 beforeEach(async(() => {
   TestBed.configureTestingModule({
     declarations: [ RbdDetailsComponent, RbdSnapshotListComponent ],
     imports: [ SharedModule, TabsModule.forRoot(), TooltipModule.forRoot(), ]
   })
   .compileComponents();
 }));
开发者ID:ukernel,项目名称:ceph,代码行数:7,代码来源:rbd-details.component.spec.ts

示例10: beforeEach

 beforeEach(async(() => {
   TestBed.configureTestingModule({
     imports: [
       SharedModule,
       ToastModule.forRoot(),
       TabsModule.forRoot(),
       RouterTestingModule,
       HttpClientTestingModule
     ],
     declarations: [RoleDetailsComponent]
   }).compileComponents();
 }));
开发者ID:Yan-waller,项目名称:ceph,代码行数:12,代码来源:role-details.component.spec.ts


注:本文中的ngx-bootstrap.TabsModule类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。