repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
ccellado/ergo | src/test/scala/org/ergoplatform/utils/ErgoTestConstants.scala | package org.ergoplatform.utils
import akka.util.Timeout
import org.ergoplatform.mining.difficulty.LinearDifficultyControl
import org.ergoplatform.mining.emission.EmissionRules
import org.ergoplatform.mining.{AutolykosPowScheme, DefaultFakePowScheme}
import org.ergoplatform.modifiers.history.extension.ExtensionCandidat... |
ccellado/ergo | src/main/scala/org/ergoplatform/settings/Parameters.scala | package org.ergoplatform.settings
import com.google.common.primitives.Ints
import io.circe.Encoder
import io.circe.syntax._
import org.ergoplatform.nodeView.history.ErgoHistory.Height
import scorex.core.serialization.ScorexSerializer
import scorex.util.serialization.{Reader, Writer}
import scorex.util.Extensions._
im... |
ccellado/ergo | src/main/scala/org/ergoplatform/http/api/NipopowApiRoute.scala | <filename>src/main/scala/org/ergoplatform/http/api/NipopowApiRoute.scala<gh_stars>0
package org.ergoplatform.http.api
import akka.pattern.ask
import akka.actor.{ActorRef, ActorRefFactory}
import akka.http.scaladsl.server.Route
import io.circe.Encoder
import io.circe.syntax._
import org.ergoplatform.modifiers.history.... |
ccellado/ergo | ergo-wallet/src/main/scala/org/ergoplatform/contracts/ReemissionContracts.scala | <gh_stars>0
package org.ergoplatform.contracts
import org.ergoplatform.ErgoBox.{R2, STokensRegType}
import org.ergoplatform.ErgoScriptPredef.{boxCreationHeight, expectedMinerOutScriptBytesVal}
import org.ergoplatform.{Height, MinerPubkey, Outputs, Self}
import org.ergoplatform.settings.MonetarySettings
import sigmasta... |
ccellado/ergo | src/test/scala/org/ergoplatform/nodeView/state/wrapped/WrappedDigestState.scala | package org.ergoplatform.nodeView.state.wrapped
import org.ergoplatform.ErgoLikeContext.Height
import org.ergoplatform.modifiers.ErgoPersistentModifier
import org.ergoplatform.nodeView.ErgoNodeViewHolder.ReceivableMessages.LocallyGeneratedModifier
import org.ergoplatform.nodeView.state.DigestState
import org.ergoplatf... |
ccellado/ergo | src/main/scala/scorex/core/network/DeliveryTracker.scala | package scorex.core.network
import akka.actor.Cancellable
import io.circe.{Encoder, Json}
import org.ergoplatform.modifiers.history.header.Header
import org.ergoplatform.network.ErgoNodeViewSynchronizer.ReceivableMessages.CheckDelivery
import org.ergoplatform.nodeView.mempool.ExpiringApproximateCache
import org.ergopl... |
ccellado/ergo | src/test/scala/org/ergoplatform/utils/MempoolTestHelpers.scala | package org.ergoplatform.utils
import org.ergoplatform.ErgoBox.BoxId
import org.ergoplatform.modifiers.mempool.ErgoTransaction
import org.ergoplatform.nodeView.mempool.{ErgoMemPoolReader, OrderedTxPool}
import scorex.util.ModifierId
trait MempoolTestHelpers {
// mempool reader stub specifically for this test only ... |
ccellado/ergo | avldb/src/test/scala/scorex/crypto/authds/avltree/batch/helpers/TestHelper.scala | <filename>avldb/src/test/scala/scorex/crypto/authds/avltree/batch/helpers/TestHelper.scala
package scorex.crypto.authds.avltree.batch.helpers
import scorex.crypto.authds.avltree.batch._
import scorex.crypto.authds.{ADDigest, SerializedAdProof}
import scorex.util.encode.Base58
import scorex.crypto.hash.{Blake2b256, Dig... |
ccellado/ergo | avldb/src/main/scala/scorex/db/LDBVersionedStore.scala | <reponame>ccellado/ergo<filename>avldb/src/main/scala/scorex/db/LDBVersionedStore.scala
package scorex.db
import java.io.File
import scorex.db.LDBFactory.factory
import org.iq80.leveldb._
import java.nio.ByteBuffer
import scala.collection.mutable.ArrayBuffer
import java.util.concurrent.locks.ReentrantReadWriteLock
... |
ccellado/ergo | ergo-wallet/src/main/scala/org/ergoplatform/wallet/boxes/ReemissionData.scala | package org.ergoplatform.wallet.boxes
import scorex.util.ModifierId
/**
* Re-emission settings which are needed in order to construct transactions
* (any of them, except ones using re-emission contract (as this class does not have all the needed data to
* obtain re-emission contract. However, it is possible to... |
ccellado/ergo | src/test/scala/org/ergoplatform/http/routes/NipopowApiRoutesSpec.scala | <reponame>ccellado/ergo
package org.ergoplatform.http.routes
import akka.http.scaladsl.model.StatusCodes
import akka.http.scaladsl.server.{Route, ValidationRejection}
import akka.http.scaladsl.testkit.ScalatestRouteTest
import de.heikoseeberger.akkahttpcirce.FailFastCirceSupport
import io.circe.Json
import org.ergopla... |
ccellado/ergo | src/test/scala/scorex/testkit/properties/state/StateApplicationTest.scala | package scorex.testkit.properties.state
import org.ergoplatform.modifiers.ErgoPersistentModifier
import org.ergoplatform.nodeView.state.{DigestState, ErgoState}
import org.scalacheck.Gen
import scala.collection.mutable.ListBuffer
trait StateApplicationTest[ST <: ErgoState[ST]] extends StateTests[ST] {
lazy val st... |
ccellado/ergo | src/main/scala/org/ergoplatform/nodeView/wallet/scanning/ScanningPredicate.scala | <reponame>ccellado/ergo
package org.ergoplatform.nodeView.wallet.scanning
import org.ergoplatform.ErgoBox
import scorex.util.encode.Base16
import sigmastate.Values.EvaluatedValue
import sigmastate.{SType, Values}
/**
* Basic interface for box scanning predicate functionality
*
* See EIP-0001 for details (https:... |
ccellado/ergo | src/main/scala/org/ergoplatform/nodeView/wallet/ErgoWalletReader.scala | package org.ergoplatform.nodeView.wallet
import java.util.concurrent.TimeUnit
import akka.actor.ActorRef
import akka.pattern.ask
import akka.util.Timeout
import org.ergoplatform.ErgoBox.BoxId
import org.ergoplatform.{ErgoBox, P2PKAddress}
import org.ergoplatform.modifiers.mempool.{ErgoTransaction, UnsignedErgoTransac... |
ccellado/ergo | ergo-wallet/src/main/scala/org/ergoplatform/wallet/boxes/BoxSelector.scala | package org.ergoplatform.wallet.boxes
import org.ergoplatform.ErgoBoxAssets
import org.ergoplatform.SigmaConstants.MaxBoxSize
import org.ergoplatform.wallet.TokensMap
import org.ergoplatform.wallet.boxes.BoxSelector.{BoxSelectionError, BoxSelectionResult}
import scorex.util.ScorexLogging
/**
* An interface which i... |
ccellado/ergo | src/main/scala/org/ergoplatform/settings/WalletSettings.scala | package org.ergoplatform.settings
import org.ergoplatform.wallet.settings.SecretStorageSettings
case class WalletSettings(secretStorage: SecretStorageSettings,
seedStrengthBits: Int,
mnemonicPhraseLanguage: String,
usePreEip3Derivation: Boo... |
ccellado/ergo | src/test/scala/org/ergoplatform/local/MempoolAuditorSpec.scala | package org.ergoplatform.local
import akka.actor.{ActorRef, ActorSystem}
import akka.testkit.{TestActorRef, TestProbe}
import org.ergoplatform.{ErgoAddressEncoder, ErgoScriptPredef}
import org.ergoplatform.nodeView.state.ErgoState
import org.ergoplatform.nodeView.state.wrapped.WrappedUtxoState
import org.ergoplatform.... |
ccellado/ergo | src/main/scala/org/ergoplatform/settings/ErgoSettings.scala | <gh_stars>0
package org.ergoplatform.settings
import java.io.{File, FileOutputStream}
import java.nio.channels.Channels
import com.typesafe.config.{Config, ConfigFactory, ConfigValueFactory}
import net.ceedubs.ficus.Ficus._
import net.ceedubs.ficus.readers.ArbitraryTypeReader._
import org.ergoplatform.mining.groupEle... |
ccellado/ergo | src/test/scala/org/ergoplatform/reemission/ReemissionRulesSpec.scala | <filename>src/test/scala/org/ergoplatform/reemission/ReemissionRulesSpec.scala<gh_stars>0
package org.ergoplatform.reemission
import org.ergoplatform.{ErgoBox, ErgoBoxCandidate, ErgoLikeTransaction, ErgoScriptPredef, Input}
import org.ergoplatform.settings.{MonetarySettings, ReemissionSettings}
import org.ergoplatform... |
ccellado/ergo | src/main/scala/org/ergoplatform/settings/LaunchParameters.scala | package org.ergoplatform.settings
/**
* Parameters corresponding to initial moment of time in the mainnet and the testnet
*/
object LaunchParameters extends Parameters(height = 0,
parametersTable = Parameters.DefaultParameters,
proposedUpdate = ErgoValidationSettingsUpdate.empty)
|
ccellado/ergo | ergo-wallet/src/main/scala/org/ergoplatform/wallet/boxes/DefaultBoxSelector.scala | <gh_stars>0
package org.ergoplatform.wallet.boxes
import org.ergoplatform.contracts.ReemissionContracts
import scorex.util.ModifierId
import org.ergoplatform.{ErgoBoxAssets, ErgoBoxAssetsHolder, ErgoBoxCandidate}
import org.ergoplatform.wallet.Constants.MaxAssetsPerBox
import org.ergoplatform.wallet.{AssetUtils, Token... |
ccellado/ergo | src/test/scala/org/ergoplatform/utils/fixtures/NodeViewFixture.scala | package org.ergoplatform.utils.fixtures
import akka.actor.{ActorRef, ActorSystem}
import akka.testkit.TestProbe
import org.ergoplatform.mining.emission.EmissionRules
import org.ergoplatform.nodeView.ErgoNodeViewRef
import org.ergoplatform.settings.{ErgoSettings, Parameters}
import org.ergoplatform.utils.{ErgoTestHelpe... |
ccellado/ergo | src/main/scala/org/ergoplatform/mining/CandidateGenerator.scala | <reponame>ccellado/ergo
package org.ergoplatform.mining
import akka.actor.{Actor, ActorRef, ActorRefFactory, Props}
import akka.pattern.StatusReply
import com.google.common.primitives.Longs
import org.ergoplatform.ErgoBox.TokenId
import org.ergoplatform.mining.AutolykosPowScheme.derivedHeaderFields
import org.ergoplat... |
ccellado/ergo | src/test/scala/org/ergoplatform/http/routes/EmissionApiRouteSpec.scala | package org.ergoplatform.http.routes
import akka.http.scaladsl.model.StatusCodes
import akka.http.scaladsl.server.Route
import akka.http.scaladsl.testkit.{RouteTestTimeout, ScalatestRouteTest}
import akka.testkit.TestDuration
import de.heikoseeberger.akkahttpcirce.FailFastCirceSupport
import io.circe.Json
import io.ci... |
ccellado/ergo | src/test/scala/org/ergoplatform/network/ErgoSyncTrackerSpecification.scala | package org.ergoplatform.network
import akka.actor.ActorSystem
import org.ergoplatform.utils.ErgoPropertyTest
import scorex.core.consensus.History.{Older, Younger}
import scorex.core.network.{ConnectedPeer, ConnectionId, Incoming}
import scorex.core.network.peer.PeerInfo
class ErgoSyncTrackerSpecification extends Erg... |
ccellado/ergo | src/main/scala/org/ergoplatform/nodeView/wallet/ErgoWalletState.scala | package org.ergoplatform.nodeView.wallet
import com.google.common.hash.BloomFilter
import org.ergoplatform.ErgoBox.BoxId
import org.ergoplatform._
import org.ergoplatform.nodeView.history.ErgoHistory.Height
import org.ergoplatform.nodeView.mempool.ErgoMemPoolReader
import org.ergoplatform.nodeView.state.{ErgoStateCont... |
ybasket/scaffeine | project/plugins.sbt | addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.8.2")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.7")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.2")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.5.3")
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.9.2")
addSbtPlugin("c... |
ybasket/scaffeine | src/main/scala/com/github/blemale/scaffeine/AsyncCache.scala | package com.github.blemale.scaffeine
import java.util.concurrent.Executor
import com.github.benmanes.caffeine.cache.{AsyncCache => CaffeineAsyncCache}
import scala.collection.JavaConverters._
import scala.compat.java8.FunctionConverters._
import scala.compat.java8.FutureConverters._
import scala.concurrent.{Executio... |
ybasket/scaffeine | project/CaffeineVersion.scala | object CaffeineVersion {
val value: String = "3.0.2"
}
|
ybasket/scaffeine | src/main/scala/com/github/blemale/scaffeine/DirectExecutionContext.scala | package com.github.blemale.scaffeine
import scala.concurrent.ExecutionContext
private[scaffeine] object DirectExecutionContext extends ExecutionContext {
override def execute(command: Runnable): Unit = command.run()
override def reportFailure(cause: Throwable): Unit =
throw new IllegalStateException(
"... |
ybasket/scaffeine | src/test/scala/com/github/blemale/scaffeine/DirectExecutor.scala | package com.github.blemale.scaffeine
import java.util.concurrent.Executor
object DirectExecutor extends Executor {
override def execute(command: Runnable): Unit = command.run()
}
|
cquiroz/scalatest | examples/src/main/scala/org/scalatest/examples/fixture/wordspec/sharing/ExampleSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/concurrent/TimeoutsSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/tools/SuiteDiscoveryHelperSuite.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/ShouldBeEqualitySpec.scala | <reponame>cquiroz/scalatest
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 requir... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/ShouldExistSpec.scala | <reponame>cquiroz/scalatest
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 requir... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/matchers/Matcher.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/TestNameProp.scala | <reponame>cquiroz/scalatest<gh_stars>1-10
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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
*
*... |
cquiroz/scalatest | scalatest.js/src/main/scala/org/scalatest/tools/SlaveRunner.scala | package org.scalatest.tools
import org.scalatest.Tracker
import org.scalatest.events.Summary
import sbt.testing.{Framework => BaseFramework, Event => SbtEvent, Status => SbtStatus, _}
import scala.compat.Platform
class SlaveRunner(theArgs: Array[String], theRemoteArgs: Array[String], testClassLoader: ClassLoader, no... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/Informer.scala | <reponame>cquiroz/scalatest
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 requir... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/ParallelTestExecutionParallelSuiteExamples.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic/src/main/scala/org/scalactic/Requirements.scala | /*
* Copyright 2001-2012 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/ShouldBeEmptyStructuralSpec.scala | <reponame>cquiroz/scalatest
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 requir... |
cquiroz/scalatest | scalactic-macro/src/main/scala/org/scalactic/anyvals/GuessANumber.scala | <gh_stars>1-10
/*
* Copyright 2001-2014 Artima, Inc.
*
* 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 ag... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/tools/PrintReporter.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest.js/src/main/scala/org/scalatest/tools/MasterRunner.scala | package org.scalatest.tools
import org.scalatest.Tracker
import org.scalatest.events.Summary
import sbt.testing.{Framework => BaseFramework, Event => SbtEvent, Status => SbtStatus, _}
import scala.compat.Platform
class MasterRunner(theArgs: Array[String], theRemoteArgs: Array[String], testClassLoader: ClassLoader) e... |
cquiroz/scalatest | scalatest.js/src/main/scala/org/scalatest/exceptions/StackDepthExceptionHelper.scala | package org.scalatest.exceptions
private[scalatest] object StackDepthExceptionHelper {
def getStackDepth(stackTraces: Array[StackTraceElement], fileName: String, methodName: String, adjustment: Int = 0): Int = {
stackTraces.takeWhile(_.getFileName.startsWith("https://")).length
}
def getStackDepthFun(fileN... |
cquiroz/scalatest | scalactic/src/main/scala/org/scalactic/package.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic-macro/src/main/scala/org/scalactic/anyvals/PosZLong.scala | <reponame>cquiroz/scalatest<filename>scalactic-macro/src/main/scala/org/scalactic/anyvals/PosZLong.scala
/*
* Copyright 2001-2014 Artima, Inc.
*
* 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 Licens... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/events/TestLocationFunctionServices.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | project/GenDeprecatedShouldMatchersTests.scala | <filename>project/GenDeprecatedShouldMatchersTests.scala
/*
* Copyright 2001-2011 Artima, Inc.
*
* 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/LI... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/tools/HtmlReporterSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/RandomTestOrder.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/prop/Configuration.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/TaggingScopesSpec.scala | <filename>scalatest-test/src/test/scala/org/scalatest/TaggingScopesSpec.scala<gh_stars>1-10
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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
*
* ... |
cquiroz/scalatest | scalactic/src/main/scala/org/scalactic/algebra/Commutative.scala | <reponame>cquiroz/scalatest
/*
* Copyright 2001-2015 Artima, Inc.
*
* 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 requir... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/words/MatcherWordsSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | examples/src/main/scala/org/scalatest/examples/propspec/SetSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/testng/TestNGWrapperSuite.scala | <reponame>cquiroz/scalatest
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 requir... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/laws/FunctorLaws.scala | /*
* Copyright 2001-2014 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test.js/src/test/scala/test/fixture/ExampleFunSuite.scala | package test.fixture
import org.scalatest._
class ExampleFunSuite extends fixture.FunSuite {
type FixtureParam = String
def withFixture(test: OneArgTest): Outcome = {
test("hi")
}
test("An empty Set should have size 0") { f =>
assert(Set.empty.size == 0)
}
test("Invoking head on an empty Set sh... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/ShouldIncludeRegexSpec.scala | <reponame>cquiroz/scalatest<filename>scalatest-test/src/test/scala/org/scalatest/ShouldIncludeRegexSpec.scala
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 L... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/exceptions/TableDrivenPropertyCheckFailedExceptionSpec.scala | <reponame>cquiroz/scalatest
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 requir... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/DispatchReporter.scala | <gh_stars>1-10
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 applica... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/laws/ApplicativeLaws.scala | /*
* Copyright 2001-2014 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic/src/main/scala/org/scalactic/Uniformity.scala | <reponame>cquiroz/scalatest<gh_stars>1-10
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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
*
*... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/OutcomeOf.scala | <gh_stars>1-10
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 applica... |
cquiroz/scalatest | scalactic-test/src/test/scala/org/scalactic/NormalizingEqualitySpec.scala | <gh_stars>1-10
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 applica... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/time/DurationSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/junit/JUnitRunnerSuite.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic/src/main/scala/org/scalactic/Equivalence.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic-test/src/test/scala/org/scalactic/CooperativeEqualitySpec.scala | /*
* Copyright 2001-2014 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic/src/main/scala/org/scalactic/EnabledEqualityFor.scala | <reponame>cquiroz/scalatest
/*
* Copyright 2001-2014 Artima, Inc.
*
* 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 requir... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/InOrderContainMatcherDeciderSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/ShouldFullyMatchSpec.scala | <filename>scalatest-test/src/test/scala/org/scalatest/ShouldFullyMatchSpec.scala
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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://ww... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/words/HaveWordSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/junit/JUnitSuiteSpec.scala | <reponame>cquiroz/scalatest
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 requir... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/matchers/MatchResultSpec.scala | <filename>scalatest-test/src/test/scala/org/scalatest/matchers/MatchResultSpec.scala
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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:... |
cquiroz/scalatest | scalactic-test/src/test/scala/org/scalactic/OrderingEqualitySpec.scala | <filename>scalactic-test/src/test/scala/org/scalactic/OrderingEqualitySpec.scala
/*
* Copyright 2001-2014 Artima, Inc.
*
* 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://ww... |
cquiroz/scalatest | scalactic-test/src/test/scala/org/scalactic/anyvals/PercentSpec.scala | /*
* Copyright 2001-2014 Artima, Inc.
*
* 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 writ... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/tools/SocketReporter.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/tools/FriendlyParamsTranslator.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/concurrent/ScalaFutures.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/BigSuite.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/BeforeAndAfterEachTestDataSuite.scala | <reponame>cquiroz/scalatest
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 requir... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/OnlyContainMatcherDeciderSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic/src/main/scala/org/scalactic/enablers/SafeSeqsConstraint.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic/src/main/scala/org/scalactic/algebra/Functor.scala | <filename>scalactic/src/main/scala/org/scalactic/algebra/Functor.scala<gh_stars>1-10
/*
* Copyright 2001-2014 Artima, Inc.
*
* 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:... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/enablers/NoParamSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic/src/main/scala/org/scalactic/LazySeq.scala | /*
* Copyright 2001-2015 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic-test/src/test/scala/org/scalactic/TrySugarSpec.scala | /*
* Copyright 2001-2014 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic/src/main/scala/org/scalactic/algebra/Distributive.scala | /*
* Copyright 2001-2015 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/StreamlinedXmlNormMethodsSpec.scala | /*
* Copyright 2001-2014 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalactic/src/main/scala/org/scalactic/TrySugar.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/junit/helpers/TestWasCalledSuite.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/Reporter.scala | <reponame>cquiroz/scalatest
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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 requir... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/ShouldEqualTypeCheckSpec.scala | <filename>scalatest-test/src/test/scala/org/scalatest/ShouldEqualTypeCheckSpec.scala<gh_stars>1-10
/*
* Copyright 2001-2013 Artima, Inc.
*
* 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
... |
cquiroz/scalatest | scalatest/src/main/scala/org/scalatest/prop/NonGeneratedTableDrivenPropertyChecks.scala | /*
* Copyright 2001-2014 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/PartialFunctionValuesSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
cquiroz/scalatest | scalatest-test/src/test/scala/org/scalatest/matchers/HavePropertyMatcherSpec.scala | /*
* Copyright 2001-2013 Artima, Inc.
*
* 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 agre... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.