forked from sosy-lab/cpachecker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-sanity tests for solver package.
git-svn-id: https://svn.sosy-lab.org/software/cpachecker/trunk@17855 4712c6d2-40bb-43ae-aa4b-fec3f1bdfe4c
- Loading branch information
1 parent
0129fc1
commit 30dffc3
Showing
12 changed files
with
200 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* CPAchecker is a tool for configurable software verification. | ||
* This file is part of CPAchecker. | ||
* | ||
* Copyright (C) 2007-2015 Dirk Beyer | ||
* All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* | ||
* CPAchecker web page: | ||
* http://cpachecker.sosy-lab.org | ||
*/ | ||
package org.sosy_lab.solver; | ||
|
||
import org.sosy_lab.common.ShutdownNotifier; | ||
import org.sosy_lab.common.configuration.Configuration; | ||
|
||
import com.google.common.testing.AbstractPackageSanityTests; | ||
|
||
public class PackageSanityTest extends AbstractPackageSanityTests { | ||
|
||
{ | ||
setDefault(Configuration.class, Configuration.defaultConfiguration()); | ||
setDefault(ShutdownNotifier.class, ShutdownNotifier.create()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* CPAchecker is a tool for configurable software verification. | ||
* This file is part of CPAchecker. | ||
* | ||
* Copyright (C) 2007-2015 Dirk Beyer | ||
* All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* | ||
* CPAchecker web page: | ||
* http://cpachecker.sosy-lab.org | ||
*/ | ||
package org.sosy_lab.solver.api; | ||
|
||
import com.google.common.testing.AbstractPackageSanityTests; | ||
|
||
public class PackageSanityTest extends AbstractPackageSanityTests { | ||
|
||
{ | ||
setDistinctValues(FormulaType.class, FormulaType.BooleanType, FormulaType.IntegerType); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
src/org/sosy_lab/solver/basicimpl/AbstractUninterpretedFunctionDeclarationTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* CPAchecker is a tool for configurable software verification. | ||
* This file is part of CPAchecker. | ||
* | ||
* Copyright (C) 2007-2015 Dirk Beyer | ||
* All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* | ||
* CPAchecker web page: | ||
* http://cpachecker.sosy-lab.org | ||
*/ | ||
package org.sosy_lab.solver.basicimpl; | ||
|
||
import org.junit.Test; | ||
|
||
public class AbstractUninterpretedFunctionDeclarationTest { | ||
|
||
@Test | ||
public void testEquals() { | ||
// equals method of AbstractUninterpretedFunctionDeclaration | ||
// is not testable with PackageSanityTest because of type fields | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* CPAchecker is a tool for configurable software verification. | ||
* This file is part of CPAchecker. | ||
* | ||
* Copyright (C) 2007-2015 Dirk Beyer | ||
* All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* | ||
* CPAchecker web page: | ||
* http://cpachecker.sosy-lab.org | ||
*/ | ||
package org.sosy_lab.solver.basicimpl; | ||
|
||
import org.sosy_lab.solver.api.FormulaType; | ||
|
||
import com.google.common.testing.AbstractPackageSanityTests; | ||
|
||
public class PackageSanityTest extends AbstractPackageSanityTests { | ||
|
||
{ | ||
setDistinctValues(FormulaType.class, FormulaType.BooleanType, FormulaType.IntegerType); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* CPAchecker is a tool for configurable software verification. | ||
* This file is part of CPAchecker. | ||
* | ||
* Copyright (C) 2007-2015 Dirk Beyer | ||
* All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* | ||
* CPAchecker web page: | ||
* http://cpachecker.sosy-lab.org | ||
*/ | ||
package org.sosy_lab.solver.logging; | ||
|
||
import com.google.common.testing.AbstractPackageSanityTests; | ||
|
||
public class PackageSanityTest extends AbstractPackageSanityTests { | ||
|
||
} |