Skip to main content
summaryrefslogtreecommitdiffstats
blob: 70836e7e5d3f625f73c1bb3390b228e65ee1219b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*******************************************************************************
 * Copyright (c) 2013 Boeing.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Boeing - initial API and implementation
 *******************************************************************************/
package org.eclipse.osee.ats.client.integration.tests;

import org.eclipse.osee.ats.client.demo.DemoUtil;
import org.eclipse.osee.ats.client.integration.tests.ats.health.AtsValidateAtsDatabaseTest;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
import org.junit.BeforeClass;

/**
 * Extension to validate ats database so test will run once after populate and once at end of the tests. Without this,
 * JUnit only runs test once.
 *
 * @author Donald G Dunne
 */
public class DemoDbPopulateValidateAtsDatabaseTest extends AtsValidateAtsDatabaseTest {

   @BeforeClass
   public static void cleanup()  {
      DemoUtil.checkDbInitAndPopulateSuccess();
   }
}

Back to the top