Permalink
Browse files

Moved files around.

  • Loading branch information...
marick committed Jan 4, 2013
1 parent c906618 commit b2ec9dee8309143927fb17d3e59f5598a52922c4
@@ -1,9 +1,9 @@
(ns ^{:doc "Emissions change global state: the output and the pass/fail record."}
- midje.internal-ideas.emissions
+ midje.emission.api
(:require [midje.ideas.reporting.report :as report]
[midje.clojure-test-facade :as ctf]
[midje.ideas.reporting.levels :as levelly]
- [midje.internal-ideas.state :as state]))
+ [midje.emission.state :as state]))
(defn forget-complete-past []
(state/reset-output-counters!)
@@ -1,9 +1,9 @@
(ns ^{:doc "Execution boundaries that have to do with checking of faces"}
- midje.internal-ideas.emission-boundaries
+ midje.emission.boundaries
(:require [midje.ideas.reporting.levels :as levelly]
[midje.ideas.reporting.string-format :as string-format]
- [midje.internal-ideas.emissions :as emit]
- [midje.internal-ideas.state :as state]))
+ [midje.emission.api :as emit]
+ [midje.emission.state :as state]))
(defn test-results-to-ternary [counters]
(cond (every? zero? ((juxt :fail :pass) counters))
@@ -3,7 +3,7 @@
non-configuration state of the program. That is: the workings
that are normally invisible to any user, with the exception
of tests and people debugging."}
- midje.internal-ideas.state)
+ midje.emission.state)
(def top-level-fact-output-lines [])
(def fact-output-lines [])
@@ -30,7 +30,7 @@
(:require [midje.internal-ideas.compendium :as compendium]
[midje.ideas.reporting.levels :as levelly]
[midje.internal-ideas.fact-context :as fact-context]
- [midje.internal-ideas.emission-boundaries :as emission-boundary]
+ [midje.emission.boundaries :as emission-boundary]
[midje.ideas.metadata :as metadata]
[midje.config :as config]
midje.ideas.reporting.report))
@@ -8,9 +8,8 @@
[clojure.algo.monads :only [domonad]]
[clojure.string :only [join]]
[clojure.walk :only [prewalk]])
- (:require [midje.internal-ideas.emission-boundaries :as emission-boundary]
- [midje.internal-ideas.emissions :as emit]
- midje.unprocessed ; temp
+ (:require [midje.emission.boundaries :as emission-boundary]
+ [midje.emission.api :as emit]
[midje.clojure-test-facade :as ctf]))
;; Formulas work by running up to *num-trials* trials per formula. If there is a failure,
@@ -3,7 +3,7 @@
(:use [midje.util.form-utils :only [invert separate-by]]
[swiss-arrows.core :only [-<>]]
[bultitude.core :only [namespaces-in-dir namespaces-on-classpath]])
- (:require [midje.internal-ideas.emission-boundaries :as emission-boundary]
+ (:require [midje.emission.boundaries :as emission-boundary]
[midje.util.ecosystem :as ecosystem]
[midje.util.colorize :as color]
[midje.config :as config]
View
@@ -12,7 +12,7 @@
[midje.ideas.metadata :as metadata]
[midje.internal-ideas.compendium :as compendium]
[midje.internal-ideas.project-state :as project-state]
- [midje.internal-ideas.emission-boundaries :as emission-boundary]
+ [midje.emission.boundaries :as emission-boundary]
[midje.util.form-utils :as form]
[midje.util.colorize :as color]
[midje.util.ecosystem :as ecosystem]
@@ -8,8 +8,8 @@
midje.util.laziness
[midje.util.form-utils :only [extended-fn?]]
[midje.util.namespace :only [immigrate]])
- (:require [midje.internal-ideas.emission-boundaries :as emission-boundary]
- [midje.internal-ideas.emissions :as emit]))
+ (:require [midje.emission.boundaries :as emission-boundary]
+ [midje.emission.api :as emit]))
(immigrate 'midje.checkers)
(letfn [(result-discovered-by-a-function? [call] (extended-fn? (:expected-result call)))
@@ -0,0 +1,5 @@
+(ns midje.emission.t-api
+ (:use midje.sweet
+ midje.test-util)
+ (:require [midje.emission.api :as emit]))
+
@@ -1,6 +0,0 @@
-(ns midje.internal-ideas.emissions
- (:use midje.sweet
- midje.test-util
- midje.internal-ideas.emissions
- midje.internal-ideas.emission-boundaries))
-
@@ -6,7 +6,7 @@
midje.util)
(:require [clojure.zip :as zip]
[midje.config :as config]
- [midje.internal-ideas.emissions :as emit]))
+ [midje.emission.api :as emit]))
(expose-testables midje.semi-sweet)
(unfinished faked-function mocked-function other-function)

0 comments on commit b2ec9de

Please sign in to comment.