diff --git a/README.md b/README.md index 04ee7e8..9310063 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ When submitting code, please make every effort to follow existing conventions an # Acknowledgments We all stand on the shoulders of giants and get by with a little help from our friends. PowerAPI is written in [Scala](http://www.scala-lang.org) (version 2.11.4 under [3-clause BSD license](http://www.scala-lang.org/license.html)) and built on top of: -* [Akka](http://akka.io) (version 2.2.4 under [Apache 2 license](http://www.apache.org/licenses/LICENSE-2.0)), for asynchronous processing +* [Akka](http://akka.io) (version 2.3.6 under [Apache 2 license](http://www.apache.org/licenses/LICENSE-2.0)), for asynchronous processing * [Typesage Config](https://github.com/typesafehub/config) (version 1.2.1 under [Apache 2 license](http://www.apache.org/licenses/LICENSE-2.0)), for reading configuration files. # Licence diff --git a/build.sbt b/build.sbt index 8237462..59d936b 100644 --- a/build.sbt +++ b/build.sbt @@ -2,13 +2,13 @@ name := """powerapi""" version := "1.0" -scalaVersion := "2.11.1" +scalaVersion := "2.11.4" libraryDependencies ++= Seq( - "com.typesafe.akka" %% "akka-actor" % "2.3.4", + "com.typesafe.akka" %% "akka-actor" % "2.3.6", "com.typesafe" % "config" % "1.2.1", - "com.typesafe.akka" %% "akka-testkit" % "2.3.4" % "test", - "org.scalatest" %% "scalatest" % "2.1.6" % "test", + "com.typesafe.akka" %% "akka-testkit" % "2.3.6" % "test", + "org.scalatest" %% "scalatest" % "2.2.2" % "test", "junit" % "junit" % "4.11" % "test", "com.novocode" % "junit-interface" % "0.10" % "test" ) diff --git a/src/main/scala/org/powerapi/PowerMeter.scala b/src/main/scala/org/powerapi/PowerMeter.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/PowerMeter.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/core/ClockActors.scala b/src/main/scala/org/powerapi/core/ClockActors.scala index d5aa97d..99c66be 100644 --- a/src/main/scala/org/powerapi/core/ClockActors.scala +++ b/src/main/scala/org/powerapi/core/ClockActors.scala @@ -191,4 +191,4 @@ class Clock(timeout: Timeout = Timeout(100.milliseconds)) extends Component with context.become(acquire) } -} \ No newline at end of file +} diff --git a/src/main/scala/org/powerapi/core/ClockChannel.scala b/src/main/scala/org/powerapi/core/ClockChannel.scala index 1366aee..891800a 100644 --- a/src/main/scala/org/powerapi/core/ClockChannel.scala +++ b/src/main/scala/org/powerapi/core/ClockChannel.scala @@ -73,4 +73,4 @@ trait ClockChannel { def subscribeOnBus: ActorRef => Unit = subscribe(ReportBus.eventBus) def publishOnBus: ClockTick => Unit = publish(ReportBus.eventBus) -} \ No newline at end of file +} diff --git a/src/main/scala/org/powerapi/core/Component.scala b/src/main/scala/org/powerapi/core/Component.scala index c20824d..24abba8 100644 --- a/src/main/scala/org/powerapi/core/Component.scala +++ b/src/main/scala/org/powerapi/core/Component.scala @@ -42,4 +42,4 @@ trait Component extends Actor with ActorLogging { def receive = LoggingReceive { acquire orElse default } -} \ No newline at end of file +} diff --git a/src/main/scala/org/powerapi/core/Message.scala b/src/main/scala/org/powerapi/core/Message.scala index d9cd49d..fc86a45 100644 --- a/src/main/scala/org/powerapi/core/Message.scala +++ b/src/main/scala/org/powerapi/core/Message.scala @@ -91,4 +91,4 @@ class Channel { def publish(bus: EventBus)(report: R) = { bus.publish(report) } -} \ No newline at end of file +} diff --git a/src/main/scala/org/powerapi/core/Subscription.scala b/src/main/scala/org/powerapi/core/Subscription.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/core/Subscription.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/libpfm/LibpfmFormula.scala b/src/main/scala/org/powerapi/module/libpfm/LibpfmFormula.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/libpfm/LibpfmFormula.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/libpfm/LibpfmSensor.scala b/src/main/scala/org/powerapi/module/libpfm/LibpfmSensor.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/libpfm/LibpfmSensor.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/powerspy/PowerspyFormula.scala b/src/main/scala/org/powerapi/module/powerspy/PowerspyFormula.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/powerspy/PowerspyFormula.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/powerspy/PowerspySensor.scala b/src/main/scala/org/powerapi/module/powerspy/PowerspySensor.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/powerspy/PowerspySensor.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/procfs/cpumax/CpuMaxFormula.scala b/src/main/scala/org/powerapi/module/procfs/cpumax/CpuMaxFormula.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/procfs/cpumax/CpuMaxFormula.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/procfs/cpumax/CpuMaxSensor.scala b/src/main/scala/org/powerapi/module/procfs/cpumax/CpuMaxSensor.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/procfs/cpumax/CpuMaxSensor.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/procfs/cpureg/CpuRegFormula.scala b/src/main/scala/org/powerapi/module/procfs/cpureg/CpuRegFormula.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/procfs/cpureg/CpuRegFormula.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/procfs/cpureg/CpuRegSensor.scala b/src/main/scala/org/powerapi/module/procfs/cpureg/CpuRegSensor.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/procfs/cpureg/CpuRegSensor.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/rapl/RaplFormula.scala b/src/main/scala/org/powerapi/module/rapl/RaplFormula.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/rapl/RaplFormula.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/rapl/RaplSensor.scala b/src/main/scala/org/powerapi/module/rapl/RaplSensor.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/rapl/RaplSensor.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/sigar/SigarFormula.scala b/src/main/scala/org/powerapi/module/sigar/SigarFormula.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/sigar/SigarFormula.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/module/sigar/SigarSensor.scala b/src/main/scala/org/powerapi/module/sigar/SigarSensor.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/module/sigar/SigarSensor.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/reporter/ConsoleReporter.scala b/src/main/scala/org/powerapi/reporter/ConsoleReporter.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/reporter/ConsoleReporter.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/main/scala/org/powerapi/reporter/FileReporter.scala b/src/main/scala/org/powerapi/reporter/FileReporter.scala deleted file mode 100644 index 80afaec..0000000 --- a/src/main/scala/org/powerapi/reporter/FileReporter.scala +++ /dev/null @@ -1,22 +0,0 @@ -/** - * This software is licensed under the GNU Affero General Public License, quoted below. - * - * This file is a part of PowerAPI. - * - * Copyright (C) 2011-2014 Inria, University of Lille 1. - * - * PowerAPI is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * PowerAPI is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with PowerAPI. - - * If not, please consult http://www.gnu.org/licenses/agpl-3.0.html. - */ \ No newline at end of file diff --git a/src/test/resources/akka.conf b/src/test/resources/akka.conf index 98df982..75e65ad 100644 --- a/src/test/resources/akka.conf +++ b/src/test/resources/akka.conf @@ -17,20 +17,4 @@ akka { event-stream = off } } - - # Used to set the behavior of the scheduler. - # Changing the default values may change the system behavior drastically so make sure - # you know what you're doing! See the Scheduler section of the Akka documentation for more details. - scheduler { - # The HashedWheelTimer (HWT) implementation from Netty is used as the default scheduler - # in the system. - # HWT does not execute the scheduled tasks on exact time. - # It will, on every tick, check if there are any tasks behind the schedule and execute them. - # You can increase or decrease the accuracy of the execution timing by specifying smaller - # or larger tick duration. - # If you are scheduling a lot of tasks you should consider increasing the ticks per wheel. - # For more information see: http://www.jboss.org/netty/ - tick-duration = 10ms - ticks-per-wheel = 512 - } -} \ No newline at end of file +} diff --git a/src/test/resources/application.conf b/src/test/resources/application.conf index 17dc39a..1012a94 100644 --- a/src/test/resources/application.conf +++ b/src/test/resources/application.conf @@ -1 +1 @@ -include "akka" \ No newline at end of file +include "akka" diff --git a/src/test/scala/org/powerapi/core/ClockSuite.scala b/src/test/scala/org/powerapi/core/ClockSuite.scala index 30ddc45..716be1c 100644 --- a/src/test/scala/org/powerapi/core/ClockSuite.scala +++ b/src/test/scala/org/powerapi/core/ClockSuite.scala @@ -152,4 +152,4 @@ class ClockSuite(_system: ActorSystem) extends UnitTesting(_system) { Await.result(receiver2 ? Get, timeout.duration) should (equal(6-1) or equal(6) or equal(6+1)) Await.result(receiver3 ? Get, timeout.duration) should (equal(16-1) or equal(16) or equal(16+1)) } -} \ No newline at end of file +} diff --git a/src/test/scala/org/powerapi/core/ComponentSuite.scala b/src/test/scala/org/powerapi/core/ComponentSuite.scala index fa6c185..01a1897 100644 --- a/src/test/scala/org/powerapi/core/ComponentSuite.scala +++ b/src/test/scala/org/powerapi/core/ComponentSuite.scala @@ -52,4 +52,4 @@ class ComponentSuite(_system: ActorSystem) extends UnitTesting(_system) { expectMsg(OK) intercept[UnsupportedOperationException] { component.receive(NonExpected) } } -} \ No newline at end of file +} diff --git a/src/test/scala/org/powerapi/core/MessageSuite.scala b/src/test/scala/org/powerapi/core/MessageSuite.scala index 8bf7c78..a3fd7d7 100644 --- a/src/test/scala/org/powerapi/core/MessageSuite.scala +++ b/src/test/scala/org/powerapi/core/MessageSuite.scala @@ -49,4 +49,4 @@ class MessageSuite(_system: ActorSystem) extends UnitTesting(_system) { eventBus.publish(report2) expectMsg(report) } -} \ No newline at end of file +} diff --git a/src/test/scala/org/powerapi/core/Prototype.scala b/src/test/scala/org/powerapi/core/Prototype.scala index 6138948..11a8f1a 100644 --- a/src/test/scala/org/powerapi/core/Prototype.scala +++ b/src/test/scala/org/powerapi/core/Prototype.scala @@ -32,4 +32,4 @@ abstract class UnitTesting(_system: ActorSystem) with ImplicitSender with FlatSpecLike with Matchers - with BeforeAndAfterAll \ No newline at end of file + with BeforeAndAfterAll