tuxji commented on code in PR #895: URL: https://github.com/apache/daffodil/pull/895#discussion_r1053794811
########## daffodil-test/src/test/scala/org/apache/daffodil/section00/general/TestSchemaWithoutDFDLNamespace.scala: ########## @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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. + */ + +package org.apache.daffodil.section00.general + +import org.apache.daffodil.tdml.Runner +import org.junit.{AfterClass, Test} + +object TestSchemaWithoutDFDLNamespace { + val testDir = "/org/apache/daffodil/section00/general/" + val runner = Runner(testDir, "testSchemaWithoutDFDLNamespace.tdml") + + @AfterClass def shutDown(): Unit = { + runner.reset Review Comment: I'm not sure why you wouldn't see these warnings since IDEA should be enabling some kinds of warnings out of the box already. You can check your IDEA settings: Open File -> Settings, type scala into the search box, hit the Enter key, and click on Editor -> Inspections to see all the enabled Scala warnings (Build -> Compiler -> Scala Compiler also has an Enable warnings setting which should be enabled too). Another possibility is that you're not seeing the warnings because IDEA is very subtle in showing them (a yellow bar in the right gutter, a count of warnings in the upper right corner, and you have to click on the count to see a list of warnings in the Problems tab). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
