Making sure that Akka Camel compiles and that the tests pass, also moving the examples from the sources to the tests.

This commit is contained in:
Viktor Klang 2012-06-25 18:28:38 +02:00
parent 7fdb2c72e4
commit 0ec97ab5c6
21 changed files with 35 additions and 1 deletions

View file

@ -4,6 +4,8 @@
package akka.camel
import language.postfixOps
import internal.component.DurationTypeConverter
import org.apache.camel.model.{ RouteDefinition, ProcessorDefinition }

View file

@ -4,6 +4,8 @@
package akka.camel.internal.component
import language.postfixOps
import java.util.{ Map JMap }
import org.apache.camel._

View file

@ -4,6 +4,8 @@
package akka
import language.implicitConversions
import org.apache.camel.model.ProcessorDefinition
package object camel {

View file

@ -4,6 +4,8 @@
package akka.camel
import language.postfixOps
import org.scalatest.matchers.MustMatchers
import akka.util.duration._
import org.apache.camel.ProducerTemplate

View file

@ -4,6 +4,8 @@
package akka.camel
import language.implicitConversions
import internal.CamelExchangeAdapter
import org.apache.camel.impl.DefaultExchange
import org.apache.camel.{ Exchange, ExchangePattern }

View file

@ -4,6 +4,9 @@
package akka.camel
import language.postfixOps
import language.existentials
import akka.actor._
import org.scalatest.matchers.MustMatchers
import akka.util.duration._

View file

@ -4,6 +4,8 @@
package akka.camel
import language.postfixOps
import org.apache.camel.{ Exchange, Processor }
import org.apache.camel.builder.RouteBuilder
import org.apache.camel.component.mock.MockEndpoint

View file

@ -4,6 +4,8 @@
package akka.camel
import language.postfixOps
import org.scalatest.matchers.MustMatchers
import org.scalatest.WordSpec
import akka.camel.TestSupport.SharedCamelSystem

View file

@ -4,6 +4,9 @@
package akka.camel
import language.postfixOps
import language.implicitConversions
import akka.actor.{ Props, ActorSystem, Actor }
import akka.util.duration._
import java.util.concurrent.{ TimeoutException, ExecutionException, TimeUnit }

View file

@ -4,6 +4,8 @@
package akka.camel
import language.postfixOps
import org.apache.camel.{ Exchange, Processor }
import org.apache.camel.builder.RouteBuilder
import org.apache.camel.component.mock.MockEndpoint

View file

@ -1,5 +1,7 @@
package akka.camel.internal
import language.postfixOps
import org.scalatest.matchers.MustMatchers
import akka.util.duration._
import org.scalatest.{ GivenWhenThen, BeforeAndAfterEach, BeforeAndAfterAll, WordSpec }

View file

@ -4,6 +4,8 @@
package akka.camel.internal.component
import language.postfixOps
import org.scalatest.matchers.MustMatchers
import akka.util.duration._
import akka.camel.TestSupport.SharedCamelSystem

View file

@ -4,6 +4,8 @@
package akka.camel.internal.component
import language.postfixOps
import org.scalatest.mock.MockitoSugar
import org.mockito.Matchers.{ eq the, any }
import org.mockito.Mockito._

View file

@ -4,6 +4,8 @@
package akka.camel.internal.component
import language.postfixOps
import org.scalatest.matchers.MustMatchers
import akka.util.duration._
import akka.util.Duration

View file

@ -4,6 +4,8 @@
package akka.camelexamples
import language.postfixOps
import akka.camel._
import akka.util.duration._
import akka.actor.{ Actor, OneForOneStrategy }

View file

@ -4,6 +4,8 @@
package akka.camelexamples
import language.implicitConversions
import java.io.FileWriter
private[camelexamples] object RichString {

View file

@ -508,7 +508,7 @@ object OSGi {
val agent = exports(Seq("akka.agent.*"))
val camel = exports(Seq("akka.camel.*", "akka.camelexamples"))
val camel = exports(Seq("akka.camel.*"))
val cluster = exports(Seq("akka.cluster.*"))